package com.tts.superstar;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageButton;
import android.widget.LinearLayout;

import com.tts.superstar.View.BaseActivity;

public class SetupActivity extends BaseActivity {

    private LinearLayout linearLayout;
    private LinearLayout linearLayout2;
    private LinearLayout linearLayout7;
    private LinearLayout linearLayout8;
    private LinearLayout linearLayout9;
    private ImageButton imageButton;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setup);

        linearLayout = findViewById(R.id.ll_edition);
        linearLayout.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent();
                intent.setClass(SetupActivity.this, EditionActivity.class);
                startActivity(intent);
            }
        });

        linearLayout7 = findViewById(R.id.tt);
        linearLayout7.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent();
                intent.setClass(SetupActivity.this, RepasswordActivity.class);
                startActivity(intent);
            }
        });

        linearLayout8 = findViewById(R.id.zz);
        linearLayout8.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent();
                intent.setClass(SetupActivity.this, YouraccountActivity.class);
                startActivity(intent);
            }
        });

        linearLayout2 = findViewById(R.id.ll_disturb);
        linearLayout2.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent();
                intent.setClass(SetupActivity.this, DontDisturbActivity.class);
                startActivity(intent);
            }
        });

        linearLayout9 = findViewById(R.id.hh);
        linearLayout9.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent();
                intent.setClass(SetupActivity.this, SpaceActivity.class);
                startActivity(intent);
            }
        });

        imageButton = findViewById(R.id.ibtn_sy);
        imageButton.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }
}